gdk_rectangle_union (&widget_clip, clip, clip);
}
-/**
+/*
* _gtk_widget_set_simple_clip:
- * @widget:
+ * @widget: a #GtkWidget
*
* This is a convenience function for gtk_widget_set_clip(), if you
* just want to set the clip for @widget based on its allocation,
* CSS properties and - if the widget is a #GtkContainer - its
* children. gtk_widget_set_allocation() must have been called
* and all children must have been allocated with
- * gtk_widget_size_allocate() before calling this function. It is
- * therefor a good idea to call this function last in your
- * implementation of GtkWidget::size_allocate().
+ * gtk_widget_size_allocate() before calling this function.
+ * It is therefore a good idea to call this function last in
+ * your implementation of GtkWidget::size_allocate().
*
* If your widget overdraws its contents, you cannot use this
* function and must call gtk_widget_set_clip() yourself.